package spring.framework.beans.factory;

import cn.hutool.core.bean.BeanException;
import spring.framework.beans.BeansException;

/**
 * @author fun.pengzh
 * @class spring.framework.beans.factory.BeanFactory
 * @desc BeanFactory顶级父接口
 * @since 2021-09-30
 */
public interface BeanFactory {

    Object getBean(String beanName) throws BeanException;

    Object getBean(String beaName, Object... args) throws BeansException;

    <T> T getBean(String beanName, Class<T> requireType) throws BeansException;

}
